import request from '@/utils/request'

export function gethousestate() {
    return request({
        url: '/api/app/smart-hotel-app-check-in/house-type-enum',
        method: 'get',
    })
}
export function gethousegengduo() {
    return request({
        url: '/api/app/smart-hotel-app-check-in/more-type-enum',
        method: 'get',
    })
}
export function gethousestatelists(params) {
    return request({
        url: '/api/app/smart-hotel-app-check-in/house-room-group/' + params.housestateId + '?houseRoomState=' + params.housetypevalue + '&roomRoomState=' + params.housetypegengduo,
        method: 'get',
    })
}
export function Updatehousestatelists(params) {
    return request({
        url: '/api/app/smart-hotel-app-check-in/state-gengduo?housenumid=' + params.stateid + '&stateid=' + params.state,
        method: 'put',
    })
}
export function houseSnowId() {
    return request({
        url: '/api/app/smart-hotel-app-check-in/snow-id?count=1',
        method: 'get',
    })
}
export function housedatemeony() {
    return request({
        url: '/api/app/smart-hotel-app-check-in/date-week-list',
        method: 'get',
    })
}
export function AddHouseState(data) {
    return request({
        url: '/api/app/smart-hotel-app-check-in/add-chenk',
        method: 'post',
        data: data
    })
}
